Short:    Strips blank lines from Amiga text files
Author:   simon@studio.woden.com
Uploader: simon@studio.woden.com
Version:  1.2
Type:     text/misc

Blank Line Purger by Simon N Goodwin, February 1999.

WHAT?

A program to scan a text file and remove blank lines.

WHY?

To save paper when printing, or to clean up after
editing operations that use search and replace to
remove content from lines, but cannot remove the
end of line markers themselves (why I wrote it).

REQUIREMENTS

Requires ASL library. Source is in HiSoft BASIC.
Uses 15 point Helvetica.font if it's available.

USAGE
 
Start from Workbench by clicking on the icon.
Select a file to be scanned or CANCEL to quit.
Repeat selection for each file to be purged.

NOTES

The input file is not modified. A new file on the
same path with the suffix ".purged" is created
containing the original contents except with the
blank lines removed.

KNOWN BUGS

Does not check that the output file name is valid.

HISTORY

Written as one small part of the V68K project...
Uploaded to Aminet in case someone else finds it
useful.

FUTURE

Could be extended to skip lines with no semantic
content - e.g. containing only spaces or tabs,
or empty comment lines (white space optionally
either side of a REM, * or ; null line comment)

Might also strip redundant CHR$(13)s, though
that's easily done with Frank Swift's CRLF tool.

Progress display? Tricky without a prior scan.

STATUS

Freely distributable but you must include source.
The author is eager to hear from anyone who finds
this handy. :-)

AUTHOR

Simon N Goodwin, simon@studio.woden.com
